package cn.yanhu.kuwanapp.invite.adapter

import android.content.Context
import cn.woochen.comlib.adapter.CommonRecyclerAdapter
import cn.yanhu.kuwanapp.R
import cn.yanhu.kuwanapp.bean.other.ShareBean
import cn.yanhu.kuwanapp.bean.response.RespGameListBean
import cn.yanhu.kuwanapp.databinding.ItemGameListBinding
import cn.yanhu.kuwanapp.databinding.ItemShareBinding
import cn.yanhu.kuwanapp.databinding.ItemTopMenuBinding

/**
 *
 * 类描述：
 * @author：woochen
 * create at：2021/7/28 7:19 AM
 */
class ShareAdapter(datas: List<ShareBean>) :
        CommonRecyclerAdapter<ShareBean>(datas, R.layout.item_share) {

    override fun convert(holder: ViewHolder, item: ShareBean) {
        holder.getDataBinding<ItemShareBinding?>()?.let {
            it.itemBean = item
        }
    }
}